package com.wang.system.domain.question.dto;

import com.wang.common.core.domain.PageQueryDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Set;

@Setter
@Getter
public class QuestionQueryDTO extends PageQueryDTO {

    @Schema(description = "题目标题")
    private String title; //有可能通过标题查询列表

    @Schema(description = "难度")
    private Integer difficulty; //有可能通过难度查询列表

    @Schema(description = "已经被添加过的题目id集合字符串")
    private String excludeIdStr;
    //在编辑竞赛题目信息时, 请求查询题目列表接口时, 需要把之前已经添加过的题目排除在外, 题目与题目之间用;分割.

    @Schema(description = "已经被添加过的题目id集合set")
    private Set<Long> excludeIdSet;
}